package extensions.android;

import uclm.extensions.android.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import extensions.android.romarioActivities.ServersActivity;

public class RomarioGameActivity extends Activity
{
	@Override
	protected void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
	
		
		setContentView(R.layout.menu_screen);
		//setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
		//getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
	}
	
	
	public void onExitClick(View view)
	{
		Tools.vibrateClick(this);
		finish();
	}

	public void onJoinGameClick(View view)
	{
		Tools.vibrateClick(this);
		Intent intent = new Intent(this, ServersActivity.class);
		
		startActivity(intent);
	}
}
